import { Role } from "../../../../role/Role";
import { RoleViewComp } from "../../../../role/view/RoleViewComp";
import { EffectShield } from "../../model/report/EffectShield";
import { ISkillReport } from "../../model/report/ISkillReport";

export class SkillAnimatorHitEffectShield {
    static play(isr: ISkillReport, target: Role, effect: EffectShield, onComplete: Function, delay: number = 0) {
        target?.loadShieldSp();
        target?.RoleView?.getComponent(RoleViewComp)?.setHpBar();
        onComplete();
    }
}